package com.d3works.apps.baml.tools;

import com.d3works.db.tenants.TenantConfig;
import com.d3works.db.tenants.TenantResolver;

public class BpmTools {

  public static final String getCurentTenant() {
    String tenantId = TenantResolver.currentTenantIdentifier();

    if (tenantId == null) {
      tenantId = TenantConfig.DEFAULT_TENANT_ID;
    }

    return tenantId;
  }
}
